Carbon


MPRemoteProcedure

Header: Multiprocessing.h Carbon status: Unsupported

Defines a pointer to a remote procedure callback. When calling MPRemoteCall, you must designate a remote procedure callback to handle any calls to nonreentrant functions (such as Mac OS system software calls).

typedef void(*MPRemoteProcedure) (
    void *parameter
);

You would declare your function like this if you were to name it MyCallback:

void *MyCallback (
    void *parameter
);
parameter

A pointer to any information you want to pass to MyMPRemoteProcedure. For example, parameter might point to a parameter list that MyRemoteProcedure could then pass to a Mac OS system software function.

DISCUSSION

Note that your application-defined function must be PowerPC native code, since Multiprocessing Services tasks cannot call 68K code.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

Not supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)